package it.stasbranger.myproject.dao;

import it.stasbranger.myproject.domain.Requests;

import java.util.Date;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Requests entities.
 * 
 */
public interface RequestsDAO extends JpaDao<Requests> {

	/**
	 * JPQL Query - findRequestsByDate
	 *
	 */
	public Set<Requests> findRequestsByDate(java.util.Date date) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByDate
	 *
	 */
	public Set<Requests> findRequestsByDate(Date date, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByEmail
	 *
	 */
	public Set<Requests> findRequestsByEmail(String email) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByEmail
	 *
	 */
	public Set<Requests> findRequestsByEmail(String email, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllRequestss
	 *
	 */
	public Set<Requests> findAllRequestss() throws DataAccessException;

	/**
	 * JPQL Query - findAllRequestss
	 *
	 */
	public Set<Requests> findAllRequestss(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByEmailContaining
	 *
	 */
	public Set<Requests> findRequestsByEmailContaining(String email_1) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByEmailContaining
	 *
	 */
	public Set<Requests> findRequestsByEmailContaining(String email_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByNameContaining
	 *
	 */
	public Set<Requests> findRequestsByNameContaining(String name) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByNameContaining
	 *
	 */
	public Set<Requests> findRequestsByNameContaining(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByName
	 *
	 */
	public Set<Requests> findRequestsByName(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByName
	 *
	 */
	public Set<Requests> findRequestsByName(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByIdrequests
	 *
	 */
	public Requests findRequestsByIdrequests(Integer idrequests) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByIdrequests
	 *
	 */
	public Requests findRequestsByIdrequests(Integer idrequests, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByPrimaryKey
	 *
	 */
	public Requests findRequestsByPrimaryKey(Integer idrequests_1) throws DataAccessException;

	/**
	 * JPQL Query - findRequestsByPrimaryKey
	 *
	 */
	public Requests findRequestsByPrimaryKey(Integer idrequests_1, int startResult, int maxRows) throws DataAccessException;

}